-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make sure all non-cli broadcasts use broadcast config param #8892
base: develop
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ 4 Skipped Deployments
|
c686b18
to
b253cfb
Compare
b253cfb
to
9d82aa6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
4cba060
@@ -70,6 +72,7 @@ export const broadcastTransactionLogic = ( | |||
): Promise<string> => { | |||
const bridge = getAccountBridge(account, parentAccount); | |||
const mainAccount = getMainAccount(account, parentAccount); | |||
const mevProtected = useSelector(mevProtectionSelector); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't use a useSelector
in here if possible, it's not a react component and we cannot expect it to work correctly in all cases
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You would probably want to add this in the WebPlatformContext
β Checklist
npx changeset
was attached.π Description
Mobile update:
mev protection wouldn't be used for now, but if in the future we use the
useSignWithDevice
hook elsewhere where mev protection would make sense, it'll be there.Desktop udpate:
LiveAppSDKLogic <- PlatformAPIWebView <-Web3AppWebview/index.tsx
<- apps/ledger-live-desktop/src/renderer/components/WebPTXPlayer/index.tsx (used only be LiveAppCard and Buy/Sell)
<- apps/ledger-live-desktop/src/renderer/components/WebPlatformPlayer/index.tsx (only important one here, handle legacy manifests live-app, earn)
<- apps/ledger-live-desktop/src/renderer/components/WebRecoverPlayer/index.tsx
<- apps/ledger-live-desktop/src/renderer/screens/exchange/Swap2/Form/SwapWebViewDemo3.tsx
β Context
π§ Checklist for the PR Reviewers